import {
	BaseUrl
} from "./config"

// 直接写死
export function getMenuTypes() {
	return new Promise((resolve) => {
		resolve({
			data: [{
					id: 1,
					name: "3菜1汤"
				},
				{
					id: 2,
					name: "面条"
				},
			]
		})

	}).then(res => {
		return res.data.map(e => ({
			value: e.id,
			text: e.name
		}))
	})
}